﻿using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;

namespace Core.Toolkit.AutoMapperExtend.DataDictionary
{
    public interface IConcurrentDataDicProvider
    {
        /// <summary>
        /// 向热更新数据池添加初始数据
        /// 项目已启动调用此方法
        /// </summary>
        /// <param name="_dataDic"></param>
        /// <param name="_dataDicListByCategory"></param>
        void LoadData(ConcurrentDictionary<string, string> _dataDic, ConcurrentDictionary<string, List<DataDicModel>> _dataDicListByCategory);
    }
}
